import request from '@/utils/request'

// 月度数据
export function defectsSpecialAnalysis(query) {
  return request({
    url: '/cms/defectInfo/defectTypeMonth',
    method: 'POST',
    data: query
  })
}

// 区站分布top10
export function siteDefectTop(query) {
  return request({
    url: '/cms/defectInfo/siteDefectTop',
    method: 'POST',
    data: query
  })
}

// 年度数据
export function lineDefectYear(query) {
  return request({
    url: '/cms/defectInfo/lineDefectYear',
    method: 'POST',
    data: query
  })
}
